//
//  CUIManager.h
//  beast_tamer
//
//  Created by chiawei.tseng on 13/2/19.
//
//

#ifndef beast_tamer_CUIManager_h
#define beast_tamer_CUIManager_h

#include "Singleton.h"
#include <list>

class CBaseUI;

using namespace std;

typedef list<CBaseUI*> UIs;
typedef list<CBaseUI*>::iterator UIitr;


class CUIManager :public Singleton<CUIManager>
{
public:
    
    CUIManager();
    ~CUIManager();
    
    virtual void Init();
    virtual void Update();
    
    void         RegisterUI(CBaseUI*);    
    void         UnRegisterUI();
    
private:
    
    UIs     m_UIs;
};


#endif
